Release 10.1A: OpenEdge Development:
ADM Reference
QuerySort
Property that contains the sorting criteria (BY phrase) of the database query. The value of this property is then stored in the QueryString property.
Data type: CHARACTER Notes:
- Read and Write.
- If you need to set the query sort criteria using a field that was renamed in a SmartDataObject (SDO), you must qualify the field name using RowObject. For example, if a SmartDataObject for the customer table includes the field
customer.contactand that field was renamed tocustContactin the SDO, you can pass thecustContactfield tosetQuerySorteither as the fieldRowObject.custContactor the database column namecontact.- The sort expression is removed if blank is passed as input.
- setQueryWhere overrides the entire query string including any previous setting of the QuerySort.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |